package com.cqjtu.eecs.service;

import com.cqjtu.eecs.entity.Major;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqjtu.eecs.entity.dto.MajorDTO;
import com.cqjtu.eecs.entity.vo.MajorVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2022-02-28
 */
public interface IMajorService extends IService<Major> {
    //  通过学院id获取学院下的专业
    List<MajorDTO> getMajorListByAcademyId(String id);
    //  获取全部的专业
    List<MajorDTO> getMajorList();

    List<String> selectAllMajorCodeByAcademyId(String academyId);

}
